<?php


namespace app\server\model;
use app\index\model\Base;

class CouponServers extends Base
{
    public function coupon()
    {
        return $this->belongsTo('Coupon','cou_id','id');
    }
    public function user()
    {
        return $this->belongsTo('Servers','s_id','s_id');
    }
    public function servers()
    {
        return $this->belongsTo('Servers','s_id','s_id');
    }
}